﻿//3. Write a method that returns the last digit of given integer as an English word. Examples: 512  "two", 1024  "four", 12309  "nine".


using System;
using System.Collections.Generic;

class LastDigitAsAWord
{
    static void Main()
    {
        int number = int.Parse(Console.ReadLine());
        Console.WriteLine("Last digit of {0} is: {1}", number, LastNumber(number));
    }
    static string LastNumber(int number)
    {
        int lastdig = number % 10;
        switch (lastdig)
        {
            case 1: return "one";
            case 2: return "two";
            case 3: return "three";
            case 4: return "four";
            case 5: return "five";
            case 6: return "six";
            case 7: return "seven";
            case 8: return "eight";
            case 9: return "nine";
            default: return "zero";
        }
    }
}
